import request from '@/utils/request.js'

// 条件分页查询权限角色信息
export const employeeRolePageService = (params) => {
  return request.get('/employeeRoles/page', { params })
}

// 新增管理员信息
export const employeeRoleAddService = (data) => {
  return request.post('/employeeRoles', data)
}

// 修改管理员信息
export const employeeRoleUpdateService = (data) => {
  return request.put('/employeeRoles', data)
}

// （批量）删除管理员信息
export const employeeRoleDeleteMultipleService = (data) => {
  return request.delete(`/employeeRoles/${data}`)
}

// 获取所有权限角色信息
export const employeeRoleSelectAllService = () => {
  return request.get('/employeeRoles/selectAll')
}
